package cn.icare.cms;

import cn.icare.cms.dao.po.Notice;
import cn.icare.cms.dao.po.Store;
import cn.icare.cms.model.ro.AddNoticeRO;
import cn.icare.cms.model.ro.AddStoreRO;
import cn.icare.cms.model.ro.EditNoticeRO;
import cn.icare.cms.model.ro.EditStoreRO;
import cn.icare.cms.model.vo.rest.MsgDatasVO;

import java.util.List;

public interface StoreService {
    Integer createOne(AddStoreRO ro, String actionUserName);

    boolean updateOne(EditStoreRO ro, String actionUserName);

    boolean deleteOne(Integer id);

    boolean deleteBatch(List<Integer> ids);

    Store getOne(Integer id);

    MsgDatasVO getList(Integer areaId, String name, Integer pageNum, Integer pageSize);

    boolean isExists(Integer id, Long areaId, String name);
}
